﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Evolution
{
    class Program
    {
        static void Main(string[] args)
        {
            Population population = new Population(30, 30);

            Console.WindowHeight = 32;
            population.Show();
            Console.WriteLine("Press Space to continue, press other key  to exit");

            while (Console.ReadKey().Key == ConsoleKey.Spacebar)
            {
                population.Change();
                population.Show();
               
                Console.WriteLine("Press Space to continue, press other key  to exit");
              }

        }
    }
}
